package org.cangku.dao;

import org.apache.ibatis.annotations.Param;
import org.cangku.entity.Xiaoshouinfo;

import java.util.List;

public interface XiaoShouInfoDao {
    /*销售信息表*/
    public void xsInfoInsert(Xiaoshouinfo info);
    /*根据单号获得改单号的详情信息*/
    public List<Xiaoshouinfo> query(@Param("danhao") String danhao);

    public int delete(@Param("dingdan") String dingdan);
    public Xiaoshouinfo getInfoByddinfoid(@Param("id") int id);

    public int cunzaidanhao(@Param("danhao") String danhao);
    public int deleteByid(@Param("id")int id);
}
